type net/http.http2ClientConn
67 uses
net/http (current package)
h2_bundle.go#L746: GetClientConn(req *Request, addr string) (*http2ClientConn, error)
h2_bundle.go#L747: MarkDead(*http2ClientConn)
h2_bundle.go#L769: conns map[string][]*http2ClientConn // key is host:port
h2_bundle.go#L771: keys map[*http2ClientConn][]string
h2_bundle.go#L775: func (p *http2clientConnPool) GetClientConn(req *Request, addr string) (*http2ClientConn, error) {
h2_bundle.go#L784: func (p *http2clientConnPool) getClientConn(req *Request, addr string, dialOnMiss bool) (*http2ClientConn, error) {
h2_bundle.go#L840: res *http2ClientConn // valid after done is closed
h2_bundle.go#L935: func (p *http2clientConnPool) addConnLocked(key string, cc *http2ClientConn) {
h2_bundle.go#L942: p.conns = make(map[string][]*http2ClientConn)
h2_bundle.go#L945: p.keys = make(map[*http2ClientConn][]string)
h2_bundle.go#L951: func (p *http2clientConnPool) MarkDead(cc *http2ClientConn) {
h2_bundle.go#L985: func http2filterOutClientConn(in []*http2ClientConn, exclude *http2ClientConn) []*http2ClientConn {
h2_bundle.go#L1005: func (p http2noDialClientConnPool) GetClientConn(req *Request, addr string) (*http2ClientConn, error) {
h2_bundle.go#L7486: newclientconn func(*http2ClientConn)
h2_bundle.go#L7603: type http2ClientConn struct {
h2_bundle.go#L7701: cc *http2ClientConn
h2_bundle.go#L8015: func (t *http2Transport) dialClientConn(ctx context.Context, addr string, singleUse bool) (*http2ClientConn, error) {
h2_bundle.go#L8078: func (t *http2Transport) NewClientConn(c net.Conn) (*http2ClientConn, error) {
h2_bundle.go#L8082: func (t *http2Transport) newClientConn(c net.Conn, singleUse bool, internalStateHook func()) (*http2ClientConn, error) {
h2_bundle.go#L8084: cc := &http2ClientConn{
h2_bundle.go#L8175: func (cc *http2ClientConn) healthCheck() {
h2_bundle.go#L8192: func (cc *http2ClientConn) SetDoNotReuse() {
h2_bundle.go#L8198: func (cc *http2ClientConn) setGoAway(f *http2GoAwayFrame) {
h2_bundle.go#L8238: func (cc *http2ClientConn) CanTakeNewRequest() bool {
h2_bundle.go#L8247: func (cc *http2ClientConn) ReserveNewRequest() bool {
h2_bundle.go#L8291: func (cc *http2ClientConn) State() http2ClientConnState {
h2_bundle.go#L8318: func (cc *http2ClientConn) idleState() http2clientConnIdleState {
h2_bundle.go#L8324: func (cc *http2ClientConn) idleStateLocked() (st http2clientConnIdleState) {
h2_bundle.go#L8361: func (cc *http2ClientConn) isUsableLocked() bool {
h2_bundle.go#L8376: func (cc *http2ClientConn) canReserveLocked() bool {
h2_bundle.go#L8388: func (cc *http2ClientConn) currentRequestCountLocked() int {
h2_bundle.go#L8392: func (cc *http2ClientConn) canTakeNewRequestLocked() bool {
h2_bundle.go#L8398: func (cc *http2ClientConn) availableLocked() int {
h2_bundle.go#L8407: func (cc *http2ClientConn) tooIdleLocked() bool {
h2_bundle.go#L8421: func (cc *http2ClientConn) onIdleTimeout() {
h2_bundle.go#L8425: func (cc *http2ClientConn) closeConn() {
h2_bundle.go#L8434: func (cc *http2ClientConn) forceCloseConn() {
h2_bundle.go#L8444: func (cc *http2ClientConn) closeIfIdle() {
h2_bundle.go#L8462: func (cc *http2ClientConn) isDoNotReuseAndIdle() bool {
h2_bundle.go#L8471: func (cc *http2ClientConn) Shutdown(ctx context.Context) error {
h2_bundle.go#L8508: func (cc *http2ClientConn) sendGoAway() error {
h2_bundle.go#L8534: func (cc *http2ClientConn) closeForError(err error) {
h2_bundle.go#L8548: func (cc *http2ClientConn) Close() error {
h2_bundle.go#L8554: func (cc *http2ClientConn) closeForLostPing() {
h2_bundle.go#L8566: func (cc *http2ClientConn) responseHeaderTimeout() time.Duration {
h2_bundle.go#L8590: func (cc *http2ClientConn) decrStreamReservations() {
h2_bundle.go#L8596: func (cc *http2ClientConn) decrStreamReservationsLocked() {
h2_bundle.go#L8602: func (cc *http2ClientConn) RoundTrip(req *Request) (*Response, error) {
h2_bundle.go#L8606: func (cc *http2ClientConn) roundTrip(req *Request, streamf func(*http2clientStream)) (*Response, error) {
h2_bundle.go#L9041: func (cc *http2ClientConn) awaitOpenSlotForStreamLocked(cs *http2clientStream) error {
h2_bundle.go#L9068: func (cc *http2ClientConn) writeHeaders(streamID uint32, endStream bool, maxFrameSize int, hdrs []byte) error {
h2_bundle.go#L9325: func (cc *http2ClientConn) encodeTrailers(trailer Header) ([]byte, error) {
h2_bundle.go#L9355: func (cc *http2ClientConn) writeHeader(name, value string) {
h2_bundle.go#L9369: func (cc *http2ClientConn) addStreamLocked(cs *http2clientStream) {
h2_bundle.go#L9381: func (cc *http2ClientConn) forgetStreamID(id uint32) {
h2_bundle.go#L9412: cc *http2ClientConn
h2_bundle.go#L9416: func (cc *http2ClientConn) readLoop() {
h2_bundle.go#L9516: func (cc *http2ClientConn) countReadFrameError(err error) {
h2_bundle.go#L10275: func (cc *http2ClientConn) Ping(ctx context.Context) error {
h2_bundle.go#L10360: func (cc *http2ClientConn) writeStreamReset(streamID uint32, code http2ErrCode, ping bool, err error) {
h2_bundle.go#L10381: func (cc *http2ClientConn) logf(format string, args ...interface{}) {
h2_bundle.go#L10385: func (cc *http2ClientConn) vlogf(format string, args ...interface{}) {
h2_bundle.go#L10584: cc *http2ClientConn
h2_bundle.go#L10640: func (cc *http2ClientConn) maybeCallStateHook() {
h2_bundle.go#L10669: func http2traceGotConn(req *Request, cc *http2ClientConn, reused bool) {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |